画像を右へ動かす
<marquee direction=right><IMG src="画像のURL" border="0"></marquee> |
画像を左へ動かす
<marquee direction="left"><IMG src="画像のURL" border="0"></marquee> |
画像を左右に動かす
<marquee behavior="alternate"><IMG src="画像のURL" border="0"></marquee> |
画像を上下に動かす 1
<marquee direction=up behavior=alternate height=80px><marquee behavior=alternate><IMG SRC="画像のURL" border="0"></marquee></marquee> |
画像を上下に動かす 2
<marquee behavior=alternate direction=up height=80px><center><IMG SRC="画像のURL" border="0"></center></marquee> |
画像を上から下に動かす
<marquee direction="down"><center><IMG SRC="画像のURL" border="0"></center></marquee>
"down"のタグを"up"に変えると下から上へスクロールします。
中央に寄せない場合は<center></center>を外して下さいねッ
|
画像にコメントをつけて動かす
ここに文字
<marquee><IMG src="画像のURL" border="0">ここに文字</marquee> |
背景色を指定して画像を動かす
<marquee direction="ここにright又はleft" width="幅" bgcolor="#背景色"><IMG src="画像のURL" border="0"></marquee> |
おまけ
<marquee behavior="alternate" direction="up" height="80" bgcolor="#背景色" width="幅"><marquee behavior="alternate"><IMG SRC="画像のURL" border="0"></marquee></marquee> |
|